<?php
ini_set('display_errors', 1);
$db = new PDO('mysql:port=3308;dbname=information_schema', 'root', 'password');
foreach($db->query("SELECT * FROM schemata where 1={$_GET['id']}") as $row) {
    echo '<li>'. join(',', $row) .'</li>';
}